package edu.zzti.fruit;

public class Average {
    public float average(Fruit f1,Fruit f2)
    {
        float c;
        c=(f1.getWeight()+f2.getWeight())/2;
        return c;
    }
}
